<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    var definePropertyHander=function(value){
        return {
            enumerable: true,
            set: function (newvalue) {
                console.log("set");
                value=newvalue;
            },

        }
    }
    var data= {"data":{"content":"你好呀"}};
    Object.defineProperty(data,"data",definePropertyHander(data["data"]));
    data["data"]={"content":"1111"};



</script>
</body>
</html>